package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.db.basic.BasicCargoTypes;

/**
 * 货物类型Service接口
 * 
 * @author ruoyi
 * @date 2023-07-25
 */
public interface IBasicCargoTypesService 
{
    /**
     * 查询货物类型
     * 
     * @param cargoTypeId 货物类型主键
     * @return 货物类型
     */
    public BasicCargoTypes selectBasicCargoTypesByCargoTypeId(Integer cargoTypeId);

    /**
     * 查询货物类型列表
     * 
     * @param basicCargoTypes 货物类型
     * @return 货物类型集合
     */
    public List<BasicCargoTypes> selectBasicCargoTypesList(BasicCargoTypes basicCargoTypes);

    /**
     * 新增货物类型
     * 
     * @param basicCargoTypes 货物类型
     * @return 结果
     */
    public int insertBasicCargoTypes(BasicCargoTypes basicCargoTypes);

    /**
     * 修改货物类型
     * 
     * @param basicCargoTypes 货物类型
     * @return 结果
     */
    public int updateBasicCargoTypes(BasicCargoTypes basicCargoTypes);

    /**
     * 批量删除货物类型
     * 
     * @param cargoTypeIds 需要删除的货物类型主键集合
     * @return 结果
     */
    public int deleteBasicCargoTypesByCargoTypeIds(Integer[] cargoTypeIds);

    /**
     * 删除货物类型信息
     * 
     * @param cargoTypeId 货物类型主键
     * @return 结果
     */
    public int deleteBasicCargoTypesByCargoTypeId(Integer cargoTypeId);
}
